#ifndef CAMERA_LENS_CTRL_H
#define CAMERA_LENS_CTRL_H

#include <QString>

#include "focus_action.h"
#include "LensControl.h"

class CameraLensCtrl
{
public:
	CameraLensCtrl();
	bool connectSerialPort(const QString& serialName);
	bool adjust(const FocusAction& action);
	int getPos();
	int getMaxFocusPos();

private:
	LensControl lens;
	int maxFocus;
	int curFocus;
};

#endif

